home *** CD-ROM | disk | FTP | other *** search
/ Best Tools for JAVA / Best Tools for JAVA.iso / JAVA_ALL / JAVA_UTL / HYPERPRO / HYPERPRO.ZIP / HyperProf / Makefile < prev    next >
Encoding:
Makefile  |  1996-09-14  |  1.1 KB  |  40 lines

  1.  
  2. ## Redefine these variables to specify the top directory of the java
  3. ## file hierarchy.
  4. ##
  5. ## That is, this path should contain the bin and classes
  6. ## subdirectories of your Java environment.
  7. ##
  8. ## If you want to install into the same directory where you unpack, 
  9. ## use the target install-inplace and modify your CLASSPATH variable 
  10. ## to point to classes subdirectory of distribution directory 
  11. ##
  12.  
  13. JAVA_DIR = $(HOME)/java
  14. JAVA_CLASSES_DIR = $(JAVA_DIR)/classes
  15. JAVA_BINARY_DIR  = $(JAVA_DIR)/bin
  16.  
  17.  
  18. install: move permissions
  19.     @echo Installation completed.
  20.  
  21. install-inplace: 
  22.     @make JAVA_DIR=. permissions
  23.     @echo Installation in place completed.
  24.  
  25. move:
  26.     cp bin/HyperProf $(JAVA_BINARY_DIR)/HyperProf
  27.     cp -r classes/PVS $(JAVA_CLASSES_DIR)
  28.  
  29. permissions:
  30.     chmod a+rx $(JAVA_BINARY_DIR)/HyperProf
  31.     chmod a+rx $(JAVA_CLASSES_DIR)/PVS/Utils
  32.     chmod a+r  $(JAVA_CLASSES_DIR)/PVS/Utils/*
  33.     chmod a+rx $(JAVA_CLASSES_DIR)/PVS/HyperProf
  34.     chmod a+r  $(JAVA_CLASSES_DIR)/PVS/HyperProf/*
  35.     chmod a+rx $(JAVA_CLASSES_DIR)/PVS/Hyperbolic
  36.     chmod a+r  $(JAVA_CLASSES_DIR)/PVS/Hyperbolic/*
  37.  
  38.  
  39.  
  40.